package cn.zcy.service.southwestimpl;

import cn.zcy.annotations.District;
import cn.zcy.service.DistrictPerformance;
import org.springframework.stereotype.Service;

/**
 * 西南区绩效计算的具体实现
 */
@Service(value = "districtPerformance")
@District("southwest")
public class SouthwestDistricePerformanceImpl implements DistrictPerformance {
    @Override
    public void calcPerformance(String type) {
        if ("SUV".equalsIgnoreCase(type)) {
            System.out.println("西南区" + type + "绩效5");
        } else if ("CAR".equalsIgnoreCase(type)) {
            System.out.println("西南区" + type + "绩效3");
        } else {

        }
    }
}
